; Options for the HP PA-RISC port of the compiler.

; Copyright (C) 2005-2015 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 3, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING3.  If not see
; <http://www.gnu.org/licenses/>.

HeaderInclude
config/pa/pa-opts.h

; Which cpu we are scheduling for.
Variable
enum processor_type pa_cpu = TARGET_SCHED_DEFAULT

march=1.0
Target RejectNegative
Generate PA1.0 code

march=1.1
Target RejectNegative
Generate PA1.1 code

march=2.0
Target RejectNegative
Generate PA2.0 code (requires binutils 2.10 or later)

mbig-switch
Target Ignore
Does nothing.  Preserved for backward compatibility.

mdisable-fpregs
Target Report Mask(DISABLE_FPREGS)
Disable FP regs

mdisable-indexing
Target Report Mask(DISABLE_INDEXING)
Disable indexed addressing

mfast-indirect-calls
Target Report Mask(FAST_INDIRECT_CALLS)
Generate fast indirect calls

mfixed-range=
Target RejectNegative Joined Var(pa_deferred_options) Defer
Specify range of registers to make fixed

mgas
Target Report Mask(GAS)
Assume code will be assembled by GAS

mjump-in-delay
Target Ignore
Does nothing.  Preserved for backward compatibility.

;; Not used by gcc
mlinker-opt
Target RejectNegative
Enable linker optimizations

mlong-calls
Target Report Mask(LONG_CALLS)
Always generate long calls

mlong-load-store
Target Report Mask(LONG_LOAD_STORE)
Emit long load/store sequences

mnosnake
Target RejectNegative
Generate PA1.0 code

mno-space-regs
Target RejectNegative Report Mask(NO_SPACE_REGS)
Disable space regs

mpa-risc-1-0
Target RejectNegative
Generate PA1.0 code

mpa-risc-1-1
Target RejectNegative Mask(PA_11)
Generate PA1.1 code

mpa-risc-2-0
Target RejectNegative Mask(PA_20)
Generate PA2.0 code (requires binutils 2.10 or later)

mportable-runtime
Target Report Mask(PORTABLE_RUNTIME)
Use portable calling conventions

mschedule=
Target RejectNegative Joined Enum(pa_schedule) Var(pa_cpu)
Specify CPU for scheduling purposes.  Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000

Enum
Name(pa_schedule) Type(enum processor_type)

EnumValue
Enum(pa_schedule) String(8000) Value(PROCESSOR_8000)

EnumValue
Enum(pa_schedule) String(7100) Value(PROCESSOR_7100)

EnumValue
Enum(pa_schedule) String(700) Value(PROCESSOR_700)

EnumValue
Enum(pa_schedule) String(7100LC) Value(PROCESSOR_7100LC)

EnumValue
Enum(pa_schedule) String(7200) Value(PROCESSOR_7200)

EnumValue
Enum(pa_schedule) String(7300) Value(PROCESSOR_7300)

msoft-float
Target Report Mask(SOFT_FLOAT)
Use software floating point

msnake
Target RejectNegative
Generate PA1.1 code

mspace-regs
Target RejectNegative Report InverseMask(NO_SPACE_REGS)
Do not disable space regs
